<!-- 共公外框-->
<template>
  <div :class="['panelBox', open && 'open']">
    <div class="content">
      <slot />
    </div>
  </div>
</template>

<script>
export default {
  name: "wrap",
  props: {
    open: {
      //是否打开内发光
      type: Boolean,
      default: false,
    },
  },
};
</script>

<style scoped lang="scss">
.panelBox {
  padding: 24px;
  // border-radius: 3px;
  // background-color: transparent;
  // border: 1px solid #ffc600;
  color: #fff;
  background: #ffffff;
  box-shadow: 0px 10px 39px 1px rgba(8, 46, 68, 0.06);
  opacity: 0.85;
  border-radius: 4px;
  box-sizing: border-box;
  .content {
    width: 100%;
    height: 100%;
    z-index: 3;
  }
}
</style>
